package com.think.teaching.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * 实训室预定和申请表
 * @author 于留俊
 * 2024-07-11
 */
@TableName("vrml_trainingroom_reserve")
public class VrmlTroomRes extends BaseModel<VrmlTroomRes>{

	/**
	 * 主键
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * '状态  0 未审核 1审核通过 2 审核失败'
	 */
	private String type;

	/**
	 * 实验名称
	 */
	private String trainingroomName;

	/**
	 * 实验内容
	 */
	private String trainingroomBody;

	/**
	 * 实训室id
	 *
	 */
	private String trainingroomId;



	/**
	 * 预定时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp reserveDate;


	/**
	 * 预定时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp startDate;
	/**
	 * 结束时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp endDate;

/*

	*/
/**
	 * 申请人
	 *//*

	private String createUser;


	*/
/**
	 * 申请时间
	 *
	 *//*

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp createDate;


	*/
/**
	 * 审批人
	 *//*

	private String updateUser;


	*/
/**
	 * 审批时间
	 *
	 *//*

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp updateDate;
*/



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTrainingroomName() {
		return trainingroomName;
	}

	public void setTrainingroomName(String trainingroomName) {
		this.trainingroomName = trainingroomName;
	}

	public String getTrainingroomBody() {
		return trainingroomBody;
	}

	public void setTrainingroomBody(String trainingroomBody) {
		this.trainingroomBody = trainingroomBody;
	}

	public String getTrainingroomId() {
		return trainingroomId;
	}

	public void setTrainingroomId(String trainingroomId) {
		this.trainingroomId = trainingroomId;
	}

	public Timestamp getReserveDate() {
		return reserveDate;
	}

	public void setReserveDate(Timestamp reserveDate) {
		this.reserveDate = reserveDate;
	}

	public Timestamp getStartDate() {
		return startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	/*public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Timestamp getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}*/

	@Override
	public String toString() {
		return "VrmlTroomRes{" +
				"id=" + id +
				", type='" + type + '\'' +
				", trainingroomName='" + trainingroomName + '\'' +
				", trainingroomBody='" + trainingroomBody + '\'' +
				", trainingroomId='" + trainingroomId + '\'' +
				", reserveDate=" + reserveDate +
				", startDate=" + startDate +
				", endDate=" + endDate +
				", createdBy='" + createdBy + '\'' +
				", createdTime=" + createdTime +
				", updatedBy='" + updatedBy + '\'' +
				", updatedTime=" + updatedTime + '\'' +
				", delflag=" + delflag + '\'' +
				", state=" + state +
				'}';
	}
}